//package cn.kgc.servlet;
//
//import cn.kgc.entity.Shop;
//import cn.kgc.service.impl.userServiceImpl;
//import cn.kgc.service.userService;
//
//import javax.servlet.ServletException;
//import javax.servlet.annotation.WebServlet;
//import javax.servlet.http.HttpServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.IOException;
//import java.io.PrintWriter;
//
//@WebServlet("/Center_fbAddServlet")
//public class Center_fbAddServlet extends HttpServlet {
//	private static final long serialVersionUID = 1L;
//    public Center_fbAddServlet() {
//        super();
//    }
//	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
//	PrintWriter out = response.getWriter();
//	String name = request.getParameter("name");
//	double money = Double.valueOf(request.getParameter("money"));
//	String leixing = request.getParameter("leixing");
//	String title = request.getParameter("title");
//	int	number = Integer.valueOf(request.getParameter("number"));
//	String pwd = request.getParameter("pwd");
//	String ms= request.getParameter("ms");
//	String pName = request.getParameter("pName");
//	int id = Integer.valueOf(request.getParameter("id"));
//	userService us  = new userServiceImpl();
//	boolean flag = us.addShop(new Shop(0,name, money, leixing, title, number, pwd, ms, pName,id));
//	System.out.println(flag);
//	out.print(flag);
//	}
//
//}
